This page last changed on May 31, 2006 by tcarlson.

To configure a WebSphere MQ Jms connector for Mule you will need to do the following -

  1. Set up a Connection Factory in the WAS admin console
  2. Confiure a Jms Connector in Mule to use the Connection Factory.

Set up the Connection Factory

Under WAS Admin Console >
Resources > WebSphere MQ JMS Provider > WebSphere MQ Queue Connection Factories

Set the following properties -

  • Name: Connection Factory
  • JNDI Name: jms/ConnectionFactory
  • Queue Manager: (Your QMGR Here)
  • Host, Port, etc.

Mule Configuration

Add the following connector configuration -

<connector name="jmsConnector" className="org.mule.providers.jms.JmsConnector">
    <properties>
        <property name="specification" value="1.1"/>
        <property name="jndiInitialFactory"   
                   value="com.ibm.websphere.naming.WsnInitialContextFactory"/>
        <property name="connectionFactoryJndiName" value="jms/ConnectionFactory"/>
    </properties>
</connector>

Note that WebSphere MQ v5.3 requires at least Fix Pack 6 (CSD06) applied for JMS 1.1 support. Earlier levels must set the specification property to 1.0.2b.
The latest WebSphere MQ Fix Packs can be downloaded here: http://www-1.ibm.com/support/docview.wss?uid=swg27006037

You will also need the following IBM Websphere jars on your classpath:

  • com.ibm.mq.jar
  • com.ibm.mqjms.jar
  • connector.jar

If you are using WAS, refer to this discussion for some known limitations.

Document generated by Confluence on Nov 27, 2006 10:27